// readpe.cpp
// Written by, Sohail Qayum Malik[sqm@cyberian.pk]


#include "readpe.h"

// We hide the ugly in the layers of abstraction
int main(int argc, char *argv[]) {

   int ret = 0;

   argument<arg_history>::pointer ptr;
   
   try {
   
       ptr = argument<arg_history>::NewE(argc, argv, COMMANDS);
	   ret = init(argv, COMMANDS, ptr);	   
   }
   catch(args_exception &e) {
   
      std::cout<<e.what();
	  ret = 1;	  
   }

   return ret;
}